//
//  YFHomeBannerView.h
//  YFListenStock
//
//  Created by funplus on 2020/12/13.
//  Copyright © 2020 ChinaRainbow-iOS. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YFBannerModel.h"
#import "TYCyclePagerView.h"
#import "TYPageControl.h"
#import "TYCyclePagerViewCell.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^HomeIndexClickBlock1)(NSInteger index);

#define YFHomeBannerCell_height (100.0*(WINDOW_WIDTH)/(345.0))+28
#define YFHomeBannerScale (100.0/345.0)

@interface YFHomeBannerView : UIView<TYCyclePagerViewDataSource, TYCyclePagerViewDelegate>

@property (nonatomic, strong) NSArray *dataArray;
@property (nonatomic, strong) TYCyclePagerView *pagerView;
@property (nonatomic, strong) TYPageControl *pageControl;
@property (nonatomic, copy) HomeIndexClickBlock1 block;

@end

NS_ASSUME_NONNULL_END
